/*******************************************************************************
 * Copyright (c) 2011 LegSem.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the GNU Public License v3.0
 * which accompanies this distribution, and is available at
 * http://www.gnu.org/licenses/gpl-3.0.txt
 * 
 * Contributors:
 *     LegSem - initial API and implementation
 ******************************************************************************/
package com.legstar.test.coxb.t1contxt;

import java.io.Serializable;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
import com.legstar.coxb.CobolElement;
import com.legstar.coxb.CobolType;


/**
 * <p>Java class for Dfhcommarea complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="Dfhcommarea">
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element name="comUserId">
 *           &lt;simpleType>
 *             &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
 *               &lt;maxLength value="8"/>
 *             &lt;/restriction>
 *           &lt;/simpleType>
 *         &lt;/element>
 *         &lt;element name="comTransactionId">
 *           &lt;simpleType>
 *             &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
 *               &lt;maxLength value="4"/>
 *             &lt;/restriction>
 *           &lt;/simpleType>
 *         &lt;/element>
 *         &lt;element name="comTaskId">
 *           &lt;simpleType>
 *             &lt;restriction base="{http://www.w3.org/2001/XMLSchema}int">
 *               &lt;totalDigits value="7"/>
 *             &lt;/restriction>
 *           &lt;/simpleType>
 *         &lt;/element>
 *         &lt;element name="comTermId">
 *           &lt;simpleType>
 *             &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
 *               &lt;maxLength value="4"/>
 *             &lt;/restriction>
 *           &lt;/simpleType>
 *         &lt;/element>
 *         &lt;element name="comCommareaSize">
 *           &lt;simpleType>
 *             &lt;restriction base="{http://www.w3.org/2001/XMLSchema}unsignedInt">
 *               &lt;totalDigits value="8"/>
 *             &lt;/restriction>
 *           &lt;/simpleType>
 *         &lt;/element>
 *       &lt;/sequence>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Dfhcommarea", propOrder = {
    "comUserId",
    "comTransactionId",
    "comTaskId",
    "comTermId",
    "comCommareaSize"
})
public class Dfhcommarea
    implements Serializable
{

    private final static long serialVersionUID = 1L;
    @XmlElement(required = true)
    @CobolElement(cobolName = "COM-USER-ID", type = CobolType.ALPHANUMERIC_ITEM, levelNumber = 5, picture = "X(8)", srceLine = 22)
    protected String comUserId;
    @XmlElement(required = true)
    @CobolElement(cobolName = "COM-TRANSACTION-ID", type = CobolType.ALPHANUMERIC_ITEM, levelNumber = 5, picture = "X(4)", srceLine = 23)
    protected String comTransactionId;
    @CobolElement(cobolName = "COM-TASK-ID", type = CobolType.PACKED_DECIMAL_ITEM, levelNumber = 5, isSigned = true, totalDigits = 7, picture = "S9(7)", usage = "PACKED-DECIMAL", srceLine = 24)
    protected int comTaskId;
    @XmlElement(required = true)
    @CobolElement(cobolName = "COM-TERM-ID", type = CobolType.ALPHANUMERIC_ITEM, levelNumber = 5, picture = "X(4)", srceLine = 25)
    protected String comTermId;
    @CobolElement(cobolName = "COM-COMMAREA-SIZE", type = CobolType.BINARY_ITEM, levelNumber = 5, isSigned = false, totalDigits = 8, picture = "9(8)", usage = "BINARY", srceLine = 26)
    protected long comCommareaSize;

    /**
     * Gets the value of the comUserId property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getComUserId() {
        return comUserId;
    }

    /**
     * Sets the value of the comUserId property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setComUserId(String value) {
        this.comUserId = value;
    }

    public boolean isSetComUserId() {
        return (this.comUserId!= null);
    }

    /**
     * Gets the value of the comTransactionId property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getComTransactionId() {
        return comTransactionId;
    }

    /**
     * Sets the value of the comTransactionId property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setComTransactionId(String value) {
        this.comTransactionId = value;
    }

    public boolean isSetComTransactionId() {
        return (this.comTransactionId!= null);
    }

    /**
     * Gets the value of the comTaskId property.
     * 
     */
    public int getComTaskId() {
        return comTaskId;
    }

    /**
     * Sets the value of the comTaskId property.
     * 
     */
    public void setComTaskId(int value) {
        this.comTaskId = value;
    }

    public boolean isSetComTaskId() {
        return true;
    }

    /**
     * Gets the value of the comTermId property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getComTermId() {
        return comTermId;
    }

    /**
     * Sets the value of the comTermId property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setComTermId(String value) {
        this.comTermId = value;
    }

    public boolean isSetComTermId() {
        return (this.comTermId!= null);
    }

    /**
     * Gets the value of the comCommareaSize property.
     * 
     */
    public long getComCommareaSize() {
        return comCommareaSize;
    }

    /**
     * Sets the value of the comCommareaSize property.
     * 
     */
    public void setComCommareaSize(long value) {
        this.comCommareaSize = value;
    }

    public boolean isSetComCommareaSize() {
        return true;
    }

}
